import { Tools } from 'weaver-mobile'
const getLabel = Tools.getLabel;

export const Fillinfrequency = () => {
  return {
    'UNLIMIT': getLabel(526995,'不限制填写'),
    'LIMIT_ONCE':  getLabel(502400,'仅限填写一次'),
    'DAILY_REPEAT': getLabel(502401,'每日限填一次'),
    'WEEK_REPEAT': getLabel(519588,'每周限填一次'),
  }
}

export const Submissionauthority = () => {
  return {
    'ANY_USER' : getLabel(526996,'所有人'),
    'SPECIFIED_USER': getLabel(518745,'指定OA用户可填'),
    'OA_USER': getLabel(518744,'所有OA用户可填')
  }
}